package com.hzvdvmc.autosale.seriaport;

/**
 * Created by william on 2017/12/30.
 * 串口的指令
 */

public enum SerialCmdEnum {

    START("53","头部"),
    HEARTBEAT("20", "心跳"),
    OUT_WARE("30", "出货"),
    CHECK_OUT_WARE_RESULT("31", "查询出货结果"),
    ROMOTE_RESTART("32", "远程重启"),
    SYSYTEM_PARAMS_MODIFY("33", "压缩机工作模式"),
    MACHINE_STATE("40", "压缩机状态"),
    END("ee","结束");

    private String value;
    private String desc;

    SerialCmdEnum(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
